
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[spOwner_DeleteOwner]') AND OBJECTPROPERTY(id,N'IsProcedure') = 1)
	DROP PROCEDURE [dbo].[spOwner_DeleteOwner]
GO
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author:		Eric Liew
-- Create date: 6/2/2009
-- Description:	Delete Owner
-- =============================================
CREATE PROCEDURE [dbo].[spOwner_DeleteOwner]
(
	@OwnerID		int
)
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

	DELETE OWNER
	WHERE OwnerID = @OwnerID
 

END
GO
